substr
 
 
 

Returns the substring of string, starting at character start and extending for length characters.

$(substr, string, start [, length]) 

Characters in the string are numbered from 1. If length is omitted, it returns the entire remaining length of the string.

Quick Reference
System Variables